home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / john / hc_showd.hqx / ShowDialog XCMD 1.4 / card_5499.txt < prev    next >
Encoding:
Text File  |  1989-08-30  |  1.2 KB  |  37 lines

  1. -- card: 5499 from stack: in.4
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2607
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 2
  9. ----- text -----
  10. Using ResEdit to Make Templates
  11.  
  12. -- part contents for background part 3
  13. ----- text -----
  14. ShowDialog XCMD Type 2 (continued...)
  15.  
  16. -- part contents for background part 1
  17. ----- text -----
  18.  
  19.  
  20. The field (of type Editable Text) that will contain the default entry string MUST be DITL item #3.
  21. A second field of editable text MUST be DITL item #4; a Checkbox MUST be DITL item #5.
  22.  
  23. Follow this outline when constructing the DITL resource:
  24. item #1:  OK button (the default)
  25. item #2:  Cancel button
  26. item #3:  Editable Text field (to contain default entry string)
  27. item #4:  Editable Text field (if you want one)*
  28. item #5:  Checkbox (if you want one)*
  29. remaining items:  Static Text fields, icons, and PICT's
  30.  
  31. * if you only want one field of Editable Text, it's okay to have item #4 be an icon, static text, PICT, etc.  The same goes for item #5, if you don't want a Checkbox.
  32.  
  33. The ONLY items that are to be ENABLED are buttons, your checkbox (if you have one), and Editable Text fields.
  34.  
  35. -- part contents for background part 7
  36. ----- text -----
  37. 10